The first required parameter, <prompt>, should be a simple descriptive statement about the request, such as, "Save document as?," or "Save test result to:."
The second required parameter is <initial filename>. The first time NewFileName is called this should be empty (“”) as the user is saving an untitled document. Thereafter, it should contain the name of the document as previously given by the user.